#include "SettingsController.h"

SettingsController::SettingsController() 
{
}

SettingsController::~SettingsController()
{
}

void SettingsController::SetModel(SettingsModel *model)
{
	_model = model;
}

void SettingsController::loadParameter(const QPointF &point)
{
	_model->setParameter(point);
	emit displayParameter(point);
}

void SettingsController::prepareSettings()
{
	emit curveLoaded();
}

void SettingsController::clearStatusBarMessage()
{
	/// resetujemy informacje na pasku
	emit displayStatusBarMessage(0);
}

void SettingsController::clickEnterStatusBarMessage(int a, int b)
{
	emit displayStatusBarMessage(4);
}

